package com.tedu.dao.repository.Impl;

import com.tedu.dao.mapper.TripMapper;
import com.tedu.dao.repository.ITripRepository;
import com.tedu.pojo.vo.TripVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

import java.util.List;
@Repository

public class TripRepositoryImpl implements ITripRepository {
    @Autowired
    private TripMapper mapper;
    @Override
    public List<TripVo> selectById(int id) {
        return mapper.selectTrip(id);
    }
}
